<template>
    <div>
        <el-card >
            <div class="box">
                <img class="picture" :src="useUserstore.avatar" alt="">
                <div class="text">
                    <h3 class="title">{{ houres() }}好！{{ useUserstore.username }}</h3>
                    <h4 class="subtitle">欢迎来到硅谷甄选运营平台</h4>
                </div>
            </div>
        </el-card>
        
    </div>
    <div class="svg">
        <svg-icon name="homeImage"  width="100%" height="100%"></svg-icon>
    </div>
</template>

<script setup lang="ts">
import useUserStore from '@/store/modules/user';
import {houres} from '@/utils/times'
 
const useUserstore=useUserStore()

</script>

<style lang="scss" scoped>
.box{
    display: flex;
    .picture{
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 20px;
    }
    .text{
        .title{
            font-size: 20px;
            margin: 30px 0;
        }
        .subtitle{
            font-style: italic;
            color: rgba(27, 127, 141, 0.5);
        }
    }
   
}
.svg{  
    width: 100%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}
    

</style>